<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>商品类型添加</title>
    <link href="${base}/resource/admin/css/common.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="${base}/resource/admin/js/jquery.js"></script>
    <script type="text/javascript" src="${base}/resource/admin/js/jquery.validate.js"></script>
    <script type="text/javascript" src="${base}/resource/admin/js/common.js"></script>
    <script type="text/javascript" src="${base}/resource/admin/js/input.js"></script>
    <script type="text/javascript" src="${base}/resource/admin/layer/layer.js"></script>
    <script type="text/javascript" src="${base}/resource/admin/datePicker/WdatePicker.js"></script>
    <style type="text/css">
        .authorities label {
            min-width: 120px;
            _width: 120px;
            display: block;
            float: left;
            padding-right: 4px;
            _white-space: nowrap;
        }
    </style>
    <script type="text/javascript">

        $().ready(function() {
            var $inputForm = $("#inputForm");
            var $browserButton = $("#browserButton");
            $browserButton.browser();
        [@flash_message /]
        });
    </script>
</head>
<body>
<div class="path">
    <a href="${base}/admin/main.do">首页</a> &raquo; 商品类型添加
</div>
<form id="inputForm" action="save.do" method="post">
    <table class="input">
        <tr>
        <th>
            <span class="requiredField">*</span>编号:
        </th>
        <td>
            <input type="text" name="sn" class="text" value="" maxlength="200" />
        </td>
    </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>名称:
            </th>
            <td>
                <input type="text" name="name" class="text" value="" maxlength="200" />
            </td>
        </tr>

        <tr>
            <th>
                <span class="requiredField">*</span>奖品图片:
            </th>
            <td>
                <span class="fieldSet">
						<input type="text" id="imgPath" name="imgPath" class="text valid"  maxlength="200" required="required">
						<input type="button" id="browserButton" class="button" value="选择文件">
					</span>
                <span class="requiredField">* 上传80px,80px大小图片</span>:
            </td>

        </tr>

        <tr>
            <th>
                <span>*</span>状态
            </th>
            <td>
                <select name="status" class="text required">
                    <option  value="0">启用</option>
                    <option  value="1" >禁用</option>
                </select>
            </td>
        </tr>

        <tr>
            <th>
                <span class="requiredField">*</span>排序:
            </th>
            <td>
                <input type="text" name="orderNum" class="text" value="" maxlength="200" />
            </td>
        </tr>

        <tr>
            <th>
                &nbsp;
            </th>

            <td>
                <input type="submit" class="button" value="提交"/>
                <input type="button" class="button" value="返回" onclick="location.href='list.do'" />
            </td>
        </tr>
    </table>
</form>
</body>
</html>